//
//  GameObjectLayer.h
//  Agility
//
//  Created by Dominique d'Argent on 15.03.11.
//  Copyright 2011 Nicky Nubbel. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ImageLayer.h"
#import "GameData.h"
#import "GameObject.h"

//
// GameObjectLayer
//
// This class is responsible for drawing a game object identified by a unique 
// key on the screen.
//
@interface GameObjectLayer : ImageLayer {
    NSString *gameObjectKey;
    CGSize size;
}

@property (nonatomic) CGSize size;

- (id)initWithGameObjectKey:(NSString *)newGameObjectKey;
- (void)update;

@end
